const urlMatch = /^[(http)(https)]/

console.log(urlMatch.test("www"))
